package com.dcy.modules.system.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author：dcy
 * @Description:
 * @Date: 2021/4/3 9:27
 */
@Getter
@Setter
@ApiModel(value = "UserUpdatePassInputDTO", description = "修改密码表单")
public class UserUpdatePassInputDTO {

    @ApiModelProperty(value = "用户id")
    @NotNull
    private String userId;

    @ApiModelProperty(value = "当前密码")
    @NotNull
    private String currentPass;

    @ApiModelProperty(value = "新密码")
    @NotNull
    private String newPass;

    @ApiModelProperty(value = "确认密码")
    @NotNull
    private String confPass;
}
